package com.shine.commonlibrary.utils.api.bean;

import java.util.List;

/**
 * Created by M_genius on 2017/6/15.
 * 描述：分页信息类
 */

public class PaginationInfo<T> {
    /**
     * 分页总数
     */
    private Integer pageCount;
    /**
     * 当前页
     */
    private Integer currentPage;
    /**
     * 数据总记录数
     */
    private Integer totalCount;
    /**
     * 单页记录数
     */
    private Integer rowPage;
    /**
     * 查询结果
     */
    private List<T> list;

    public Integer getPageCount() {
        return pageCount;
    }

    public void setPageCount(Integer pageCount) {
        this.pageCount = pageCount;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public Integer getRowPage() {
        return rowPage;
    }

    public void setRowPage(Integer rowPage) {
        this.rowPage = rowPage;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
